package externaldata.passageTrainReel;

import java.util.Date;


public class PassageTrainReel {
	
	private String numeroTrain;
	private Date arriveeGare;
	private String nomTrain;
	private String destinationUic;
	
	
	public PassageTrainReel() {
		this(null, null, null, null);
	}
	
	public PassageTrainReel(String numeroTrain, Date arriveeGare,
			String nomTrain, String destinationUic) {
		this.numeroTrain = numeroTrain;
		this.arriveeGare = arriveeGare;
		this.nomTrain = nomTrain;
		this.destinationUic = destinationUic;
	}

	
	public String getNumeroTrain() {
		return numeroTrain;
	}

	public void setNumeroTrain(String numeroTrain) {
		if (numeroTrain != null && !numeroTrain.trim().equals(""))
			this.numeroTrain = numeroTrain;
	}

	public Date getArriveeGare() {
		return arriveeGare;
	}

	public void setArriveeGare(Date arriveeGare) {
		if (arriveeGare != null)
			this.arriveeGare = arriveeGare;
	}

	public String getNomTrain() {
		return nomTrain;
	}

	public void setNomTrain(String nomTrain) {
		if (nomTrain != null && !nomTrain.trim().equals(""))
			this.nomTrain = nomTrain;
	}

	public String getDestinationUic() {
		return destinationUic;
	}

	public void setDestinationUic(String destinationUic) {
		if (destinationUic != null && !destinationUic.trim().equals(""))
			this.destinationUic = destinationUic;
	}
}
